home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5269 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: mail2news.demon.co.uk!poseidon.bfs.unibol.com
  2. From: John Girvin <jgirvin@bfs.unibol.com>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: AddIntServer + VERTB strangeness
  5. Date: Tue, 12 Mar 1996 08:51:42 +0000 (GMT)
  6. Message-ID: <199603120851.IAA51888@poseidon.bfs.unibol.com>
  7. X-NNTP-Posting-Host: poseidon.bfs.unibol.com
  8. X-Mailer: ELM [version 2.4 PL23]
  9. MIME-Version: 1.0
  10. Content-Type: text/plain; charset=US-ASCII
  11. Content-Transfer-Encoding: 7bit
  12. Content-Length: 1348      
  13. X-Mail2News-Path: ns.unibol.com!poseidon.bfs.unibol.com
  14.  
  15.  
  16. Hi,
  17.  
  18. Ive been experimenting with taking over the OS interrupts using high
  19. priority AddIntServer and SetIntVector calls so as to remove as much
  20. OS overhead as possible from my game.
  21.  
  22. When I install a high priority (127) vertical blank interrupt server it 
  23. seems that the other, lower priority, servers in the chain get called
  24. even if my server returns with Z set (or is it NZ? cant remember offhand!) 
  25. to indicate that no further processing is necessary for this interrupt.
  26.  
  27. How can I ensure that my interrupt server is the *only* one that gets
  28. called? On my 1200-030 (V39) it doesnt really matter that the other servers
  29. get CPU time, but on my a500 (V37) things really *crawl* along.
  30.  
  31. Its definitely the vertb interrupts that are causing the slowdown, for if
  32. I bang the intena register the problem goes away. But this kinda defeats
  33. the purpose of using AddIntServer!
  34.  
  35. Is there something special about the vertical blank server chain that means
  36. it ignores the Z-return convention or server priorities?
  37.  
  38. Thanks for listening!
  39. /John.
  40. -- _/_/_/ --------------------------------------------------------------------
  41.   _/     _/ _/_/_/ _/  _/ jgirvin@bfs.unibol.com .. I speak for ME,not Unibol!
  42.  _/  _/ _/ _/     _/ _/ Mountain biker,Amiga coder,net.surfer and Party Person
  43. _/_/_/ _/ _/      _/ Life would be so much simpler if I had the source code...
  44.